const Mock = require('mockjs')

const data = Mock.mock({
	"tab|3": [{
		"title|+1": ["推荐", "附近", "最近"],
		"id": '@id',
		'list|5-10': [{
			"title|+1": ["前端工程师", "web前端", '前端', 'Vuejs', 'React'],
			"minPrice|5-10": 1,
			"maxPrice|20-50": 1,
			"jobLimit": '@integer(1,2)-@integer(3,5)年',
			"require|2-5": [{
				"name|+1": ['VueJS', 'ReactJS', 'Node', 'TS', 'HTML', 'CSS', 'Webpack']
			}],
			"auther": "@cname",
			"city": '@city',
			"id": '@id'
		}]
	}],
	"userList": [{
		"username": 'admin',
		"password": "admin",
		"avator": '',
		"nickname": '管理员',
		"id": '@id'
	}, {
		"username": 'test',
		"password": "test",
		"avator": '',
		"nickname": '测试用户',
		"id": '@id'
	}]
})

module.exports = data